package com.example.administrator.szb.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.example.administrator.szb.activity.layout.UserCenterActivity;
import com.example.administrator.szb.R;

/**
 * Created by D N on 2017/10/23.
 */

public class GWCententActivity extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (true){
            int refer_id = getIntent().getIntExtra("refer_id", 0);//获取列表问题的id
            Intent intent = new Intent(this, UserCenterActivity.class);
            intent.putExtra("refer_id",refer_id);
            startActivity(intent);
            finish();
            return;
        }
        setContentView(R.layout.gw_center_activity);

    }

}
